<!DOCTYPE html>
<html>
<head lang="en">
    <include file="appapi@head"/>
    <title>{:lang('实名认证')}</title>
    <link rel="stylesheet" type="text/css" href="__STATIC__/appapi/css/upload.css?t=5">
    <link rel="stylesheet" type="text/css" href="__STATIC__/appapi/css/auth_apply.css?t=1566211359">
</head>
<body>
    <div class="auth_top">
        *{:lang('以下信息均为必填项，为保障您的利益，请如实填写')}
    </div>
    <ul class="auth_list">
        <li>
            <p class="auth_list_title">{:lang('真实姓名')}</p>
            <p class="auth_list_right">
                <input type="text" name="realname" id="realname" placeholder="{:lang('请输入姓名')}" value="{$info['name']}">
            </p>
            <p class="clearboth"></p>
        </li>
        <li>
            <p class="auth_list_title">{:lang('手机号码')}</p>
            <p class="auth_list_right">
                <input type="text" name="phone" id="phone" placeholder="{:lang('请输入手机号码')}" value="{$info['mobile']}">
            </p>
            <p class="clearboth"></p>
        </li>
        <li>
            <p class="auth_list_title">{:lang('身份证号')}</p>
            <p class="auth_list_right">
                <input type="text" name="cardno" id="cardno" placeholder="{:lang('请输入身份证号码')}" value="{$info['cer_no']}">
            </p>
            <p class="clearboth"></p>
        </li>
    </ul>
    <div class="line_bd_u">
        <ul class="upload clearfix">
            <li>
                <div class="up_img" data-fileid="up_img2">
                    <if condition="$info">
                    <img src="{:get_upload_path($info['front_view1'])}" id="front_view1">
                    <else/>
                    <img src="__STATIC__/appapi/images/upload.png">
                    </if>
                    <div class="shadd">
                        <div class="progress_bd"><div class="progress_sp"></div></div>
                    </div>
                    <input type="hidden" class="img_input" name="front" id="front" value="{$info['front_view']}">
                    <input type="file" id="up_img2" class="file_input" name="file"  accept="image/*" style="display:none;"/>
                </div>
                <div class="up_t">
                    {:lang('证件正面')}
                </div>
            </li>
            <li>
                <div class="up_img" data-fileid="up_img3">
                    <if condition="$info">
                    <img src="{:get_upload_path($info['back_view1'])}">
                    <else/>
                    <img src="__STATIC__/appapi/images/upload.png">
                    </if>
                    <div class="shadd">
                        <div class="progress_bd"><div class="progress_sp"></div></div>
                    </div>
                    <input type="hidden" class="img_input" name="back" id="back" value="{$info['back_view']}">
                    <input type="file" id="up_img3" class="file_input" name="file"  accept="image/*" style="display:none;"/>
                </div>
                <div class="up_t">
                    {:lang('证件反面')}
                </div>
            </li>
            <li>
                <div class="up_img" data-fileid="up_img4">
                    <if condition="$info">
                    <img src="{:get_upload_path($info['handset_view1'])}">
                    <else/>
                    <img src="__STATIC__/appapi/images/upload.png">
                    </if>
                    <div class="shadd">
                        <div class="progress_bd"><div class="progress_sp"></div></div>
                    </div>
                    <input type="hidden" class="img_input" name="hand" id="hand" value="{$info['handset_view']}">
                    <input type="file" id="up_img4" class="file_input" name="file"  accept="image/*" style="display:none;"/>
                </div>
                <div class="up_t">
                    {:lang('手持证件正面照')}
                </div>
            </li>
        </ul>
    </div>

    <if condition="$info">
        <if condition="$info['status'] neq 0">
        <!-- <div class="autharea auth_ok">
            提交重审
        </div> -->
        <else/>
        <div class="autharea auth_no">
            {:lang('信息审核中')}
        </div>
        </if>
    <else/>
    <div class="autharea auth_ok">
        {:lang('提交认证')}
    </div>
    </if>
    
    <include file="appapi@footer"/>
    <include file="appapi@scripts"/>
    <script type="text/javascript">
        var status='{$info['status']}';
		var protocol="{$protocol}";
		var domain="{$domain}";
		var upload_url="{$upload_url}";

		var qiniu_expedite_url=protocol+'://'+domain+'/';
		var qiniu_upload_url=protocol+'://'+upload_url+'/';
		var cloudtype="{$cloudtype}";					   
    </script>
    <script src="__STATIC__/js/ajaxfileupload.js"></script>
    <script type="text/javascript" src="__STATIC__/appapi/js/upload.js?t=1577953340"></script>
    <script type="text/javascript" src="__STATIC__/appapi/js/auth.js?t=1"></script>

</body>
</html>